package com.yc.bbs.vo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Set;

@Data
@Component
//@ConfigurationProperties("demo")
public class people {
    String name;
    int age;
    String[] likes;
    List schools;
    Set<people> friends;
    List<dog> dogs;
}

@Data
class dog{
    String name;
    int age;
}

